<?php
global $base_dir;
$base_dir='../';

/**** 模块调用*****/
include_once($base_dir."inc/inc_connect.php");		//通用函数包含文件
include_once("index_inc.php");
include_once("func/function.php");
include_once($base_dir."inc/manage.php");			//后台通用包含文件
?>
<?php
//接收参数
if(is_array($_GET))
{
	foreach($_GET as $key => $value)
	{
		$$key=$value;
	}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?=$lanmu_name?>-后台管理系统</title>
<link href="../style/common.css" rel="stylesheet" type="text/css" />
<script src="../js/checkform.js" type="text/javascript"></script>
<script type="text/javascript" src="../js/kindeditor/kindeditor.js"></script>

<link href="../js/dq_calendar/dq_calendar.css" rel="stylesheet" type="text/css" />
<script src="../js/dq_calendar/dq_calendar.js" type="text/javascript"></script>

<script language="javascript">
//表单验证
function this_submit()
{
	if(checkform())
	{
		document.f1.submit();
	}
}
</script>
</head>
<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="lanmu_table">
  <tr>
    <td height="30" valign="bottom"><a href="<?=$url_list?>"><span class="lanmu_title"><?=$lanmu_name?></span></a><span class="lanmu_title2">&nbsp;&gt;&nbsp;添加</span></td>
  </tr>
</table>
<form action="<?=$url_act?>?<?=QueryString()?>" method="post" name="f1" enctype="multipart/form-data">
<table border="0" cellspacing="1" class="margintop30">
  <tr>
    <td width="114" height="25" align="right" class="title01">门票名称:</td>
    <td width="616" class="list_content1"><label><input name="Tord_ticketName" type="text" id="Tord_ticketName" bt="1" char="门票名称"/><span class="red">*</span>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">游玩日期:</td>
    <td width="616" class="list_content1"><label><input name="Tord_playdate" type="text" id="Tord_playdate" bt="1" char="游玩日期" onclick="DQ_setDate(this)"/><span class="red">*</span>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">预订数量:</td>
    <td width="616" class="list_content1"><label><input name="Tord_num" type="text" id="Tord_num" char="预订数量"/>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">窗口价格:</td>
    <td width="616" class="list_content1"><label><input name="Tord_price1" type="text" id="Tord_price1" char="窗口价格"/>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">销售价:</td>
    <td width="616" class="list_content1"><label><input name="Tord_price2" type="text" id="Tord_price2" char="销售价"/>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">订单总价:</td>
    <td width="616" class="list_content1"><label><input name="Tord_price3" type="text" id="Tord_price3" bt="1" char="结算价"/><span class="red">*</span>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">额外返利:</td>
    <td width="616" class="list_content1"><label><input name="Tord_price4" type="text" id="Tord_price4" char="额外返利"/>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">游客姓名:</td>
    <td width="616" class="list_content1"><label><input name="per_name" type="text" id="per_name" bt="1" char="游客姓名"/><span class="red">*</span>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">游客电话:</td>
    <td width="616" class="list_content1"><label><input name="per_phone" type="text" id="per_phone" bt="1" char="游客电话"/><span class="red">*</span>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">游客证件类型:</td>
    <td width="616" class="list_content1"><label><input name="per_cardtype" type="text" id="per_cardtype" bt="1" char="游客证件类型"/><span class="red">*</span>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">游客证件号码:</td>
    <td width="616" class="list_content1"><label><input name="per_cardno" type="text" id="per_cardno" bt="1" char="游客证件号码"/><span class="red">*</span>
    &nbsp;&nbsp;</label></td>
  </tr>  <tr>
    <td width="114" height="25" align="right" class="title01">预订备注:</td>
    <td width="616" class="list_content1"><label><textarea name="per_beizhu" cols="40" id="per_beizhu" char="预订备注"></textarea>
    &nbsp;&nbsp;</label></td>
  </tr>
  <tr>
    <td height="25" align="right" class="title01">邮寄地址:</td>
    <td class="list_content1"><input name="Tord_address" type="text" id="Tord_address"/></td>
  </tr>
  <tr>
    <td height="25" align="right" class="title01">邮政编码:</td>
    <td class="list_content1"><input name="Tord_code" type="text" id="Tord_code"/></td>
  </tr>  
  <tr>
    <td width="114" height="25" align="right" class="title01">订单状态:</td>
    <td width="616" class="list_content1"><label><select name="Tord_status" id="Tord_status">
	<option value="">请选择</option>
	<?
	echo getOrderStuOpt();	#获取订单状态列表
	?>
</select>

    &nbsp;&nbsp;</label></td>
  </tr>
  <tr>
    <td height="25" colspan="2" align="center" class="list_content1">
      <input type="button" name="Submit2" value="提交" onclick="this_submit()" />
      &nbsp;&nbsp;
      <input name="reset" type="reset" value="重填" />
      <input name="act" type="hidden" id="act" value="save" />    </td>
  </tr>
</table>
</form>
<!-- 7caihu.com Baidu tongji analytics -->
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");

document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fb8797ecb21d1ccb839c35b190277a0cd' type='text/javascript'%3E%3C/script%3E"));

</script>
</body>
</html>
<?php
include_once($base_dir."inc/inc_unconnect.php")
?>